package com.cupcorn.lib.game;

import org.andengine.entity.scene.background.AutoParallaxBackground;
import org.andengine.entity.shape.IAreaShape;

public class GameAutoParallax extends AutoParallaxBackground
{
	public GameAutoParallax(float pRed, float pGreen, float pBlue,
			float pParallaxChangePerSecond) {
		super(pRed, pGreen, pBlue, pParallaxChangePerSecond);
	}

	public GameRectangle	rectangle;
	public GameText				text;
	
	public void addEntity(float pParallaxFactor, IAreaShape pAreaShape)
	{
		attachParallaxEntity(new ParallaxEntity(pParallaxFactor, pAreaShape));
	}
}
